package com.bean;

import java.sql.Timestamp;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Usin entity. @author MyEclipse Persistence Tools
 */
@XmlRootElement(name = "UserInfo")
public class Usin implements java.io.Serializable {

	// Fields

	private String usid;
	private Integer id;
	private String dgno;
	private String dpid;
	private String usna;
	private String pass;
	private Timestamp crdt;
	private Timestamp padt;
	private String idca;
	private String uste;
	private String usse;
	private String usem;
	private String usco;
	private String orid;
	private Integer stat;
	private String rema;
	private String isdh;
	private String jobn;
	private String rena;
	private String brad;

	// Constructors

	/** default constructor */
	public Usin() {
	}

	public Usin(String usid, String pass) {
		super();
		this.usid = usid;
		this.pass = pass;
	}

	/** minimal constructor */
	public Usin(String usid, Integer id, String usna, String pass) {
		this.usid = usid;
		this.id = id;
		this.usna = usna;
		this.pass = pass;
	}

	/** full constructor */
	public Usin(String usid, Integer id, String dgno, String dpid, String usna,
			String pass, Timestamp crdt, Timestamp padt, String idca,
			String uste, String usse, String usem, String usco, String orid,
			Integer stat, String rema, String isdh, String jobn, String rena,
			String brad) {
		this.usid = usid;
		this.id = id;
		this.dgno = dgno;
		this.dpid = dpid;
		this.usna = usna;
		this.pass = pass;
		this.crdt = crdt;
		this.padt = padt;
		this.idca = idca;
		this.uste = uste;
		this.usse = usse;
		this.usem = usem;
		this.usco = usco;
		this.orid = orid;
		this.stat = stat;
		this.rema = rema;
		this.isdh = isdh;
		this.jobn = jobn;
		this.rena = rena;
		this.brad = brad;
	}

	// Property accessors
	@XmlElement
	public String getUsid() {
		return this.usid;
	}

	public void setUsid(String usid) {
		this.usid = usid;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDgno() {
		return this.dgno;
	}

	public void setDgno(String dgno) {
		this.dgno = dgno;
	}

	public String getDpid() {
		return this.dpid;
	}

	public void setDpid(String dpid) {
		this.dpid = dpid;
	}
	@XmlElement
	public String getUsna() {
		return this.usna;
	}

	public void setUsna(String usna) {
		this.usna = usna;
	}
	@XmlElement
	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public Timestamp getCrdt() {
		return this.crdt;
	}

	public void setCrdt(Timestamp crdt) {
		this.crdt = crdt;
	}

	public Timestamp getPadt() {
		return this.padt;
	}

	public void setPadt(Timestamp padt) {
		this.padt = padt;
	}

	public String getIdca() {
		return this.idca;
	}

	public void setIdca(String idca) {
		this.idca = idca;
	}

	public String getUste() {
		return this.uste;
	}

	public void setUste(String uste) {
		this.uste = uste;
	}

	public String getUsse() {
		return this.usse;
	}

	public void setUsse(String usse) {
		this.usse = usse;
	}

	public String getUsem() {
		return this.usem;
	}

	public void setUsem(String usem) {
		this.usem = usem;
	}

	public String getUsco() {
		return this.usco;
	}

	public void setUsco(String usco) {
		this.usco = usco;
	}

	public String getOrid() {
		return this.orid;
	}

	public void setOrid(String orid) {
		this.orid = orid;
	}

	public Integer getStat() {
		return this.stat;
	}

	public void setStat(Integer stat) {
		this.stat = stat;
	}

	public String getRema() {
		return this.rema;
	}

	public void setRema(String rema) {
		this.rema = rema;
	}

	public String getIsdh() {
		return this.isdh;
	}

	public void setIsdh(String isdh) {
		this.isdh = isdh;
	}

	public String getJobn() {
		return this.jobn;
	}

	public void setJobn(String jobn) {
		this.jobn = jobn;
	}

	public String getRena() {
		return this.rena;
	}

	public void setRena(String rena) {
		this.rena = rena;
	}

	public String getBrad() {
		return this.brad;
	}

	public void setBrad(String brad) {
		this.brad = brad;
	}
	
	public class UserException extends RuntimeException {

		public UserException(String message) {
			super(message);
		}

	}

}